<html><head>
<link rel="stylesheet" href="docstyle.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link title="Index of types" rel=Appendix href="index_types.html">
<link title="Index of exceptions" rel=Appendix href="index_exceptions.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Jvm_bytecode" rel="Chapter" href="Jvm_bytecode.html">
<link title="Jvm_io" rel="Chapter" href="Jvm_io.html">
<link title="Jvm_jar" rel="Chapter" href="Jvm_jar.html">
<link title="Jvm_type" rel="Chapter" href="Jvm_type.html"><title>HaXeJvm Documentation : Jvm_type.extract_field</title>
</head>
<body>
<code class="code"><span class="keyword">let</span>&nbsp;extract_field&nbsp;=&nbsp;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="keyword">function</span>&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">Jvm_property</span>&nbsp;(field,&nbsp;_,&nbsp;_)&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="constructor">Some</span>&nbsp;field&nbsp;<span class="keywordsign">|</span>&nbsp;<span class="constructor">Jvm_method</span>&nbsp;_&nbsp;<span class="keywordsign">-&gt;</span>&nbsp;<span class="constructor">None</span><br>
<br>
</code><table><tr><td></td><td><span class="comment">(** TODO! Those special values are to be replaced by interfaces declared in  
 haXe (once the jvm backend works ^^) An in-code description of the      
 Dynamic interface used to implement haXe Dynamic type. Later the        
 implementation code needs to be injected ...                            *)</span></td></tr></table><code class="code"><br>
<span class="keyword">and</span>&nbsp;special_dynamic&nbsp;=&nbsp;simple_interface&nbsp;([&nbsp;<span class="string">"haxe"</span>;&nbsp;<span class="string">"lang"</span>&nbsp;],&nbsp;<span class="string">"IDynamic"</span>)<br>
<br>
</code><table><tr><td></td><td><span class="comment">(** An in-code description of the Array_access interface used to implement  
 haXe array_access                                                       *)</span></td></tr></table><code class="code"><br>
<span class="keyword">and</span>&nbsp;special_array_access&nbsp;=<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;simple_interface&nbsp;([&nbsp;<span class="string">"haxe"</span>;&nbsp;<span class="string">"lang"</span>&nbsp;],&nbsp;<span class="string">"IArrayAccess"</span>)<br>
<br>
</code><table><tr><td></td><td><span class="comment">(** An in-code description of the haxe.jvm.Closure interface used to        
 simulate function types on jvm                                          *)</span></td></tr></table><code class="code"><br>
<span class="keyword">and</span>&nbsp;special_closure&nbsp;=&nbsp;simple_interface&nbsp;([&nbsp;<span class="string">"haxe"</span>;&nbsp;<span class="string">"lang"</span>&nbsp;],&nbsp;<span class="string">"IClosure"</span>)</code></body></html>